import {createRouter, createWebHistory} from 'vue-router'

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes:[
        {
            path: '/home',
            name: 'home',
            component: ()=>import('@/views/home/index.vue')
        },
        {
            path: '/',
            name: 'layout',
            component: ()=>import('@/views/layout/index.vue')
        }
    ]
})

export default router
